<?php

defined('ACC')||exit('Access Denied');

class AttrCatModel extends Model{
	
	/* 添加属性 */
	public function attr_insert($data){
		return $this->db->autoExecute($data, 'attribute');
	}
	
	/* 修改属性 */
	public function attr_update($data, $where){
		return $this->db->autoExecute($data, 'attribute', 'update', $where);
	}
	
	
}
